package com.chinaisafe.user.entity;

import java.io.Serial;
import com.chinaisafe.user.vo.request.SysRoleMenuReqVO;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chinaisafe.base.mybatisplus.entity.BaseEntity;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * SysRoleMenu
 * Description：角色与菜单实体类
 *
 * @author xuefu.shu
 * @date  2024-07-13 17:14:06
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sys_role_menu")
@Schema(name = "SysRoleMenu", description = "角色与菜单")
public class SysRoleMenu extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "角色_id")
    @TableField("sys_role_id")
    private Long sysRoleId;

    @Schema(description = "菜单(资源)_id")
    @TableField("sys_menu_id")
    private Long sysMenuId;
}
